import Vue from "vue";
import Vuex from  "vuex";
import state from './state'
import getters from './getter'
import actions from './actions'
import mutations from "./mutations"
import user from './modules/user'

Vue.use(Vuex)

const  Store = new Vuex.Store({
    modules:{
        user
    },
    state,
    getters,
    actions,
    mutations
})

export default  Store
